﻿/*
 * Created by SharpDevelop.
 * User: CrOnO
 * Date: 24/10/2011
 * Time: 12:23 p.m.
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Collections;
using System.Collections.Generic;
using Business_Entity;
using DAOFactory;

namespace Business_Logic
{
	/// <summary>
	/// Description of BLArea.
	/// </summary>
	public class BLArea
	{
		List<BEArea> listaArea;
		
		public BLArea()
		{
			listaArea = new List<BEArea>();
		}
		
		public List<BEArea> obtenerArea()
		{
			DAOAreaCargo dao = new DAOAreaCargo();
			
			List<BEArea> resultado = dao.completarArea();
			this.listaArea = resultado;
			
			return listaArea;
		}
		
		public List<BEArea> ListaArea
		{
			get { return listaArea; }
			set { listaArea = value; }
		}
	}
}
